/**
 * author:龚佳新  
 * date:2013-08-12
 * 资产结构模型 方法全部抽取 为目前最精简模式
 */
Cnbi.model.Capital_Chain= function(params) {
   Cnbi.model.BaseSliderAndProgress.call(this,params); 
   var scope = this,domArray = params["domArray"];
   this.initPage=function(){
	      if(!scope.flag){//alert("子类的initPage");
	      		CnbiSoft.setCurrentRenderer("JavaScript");
	    	}

	   setFormula(false);
	   scope.setSliderValue(params.slider_array, scope.datas, "input");
	   scope.setProgressValue(params.progress_array,scope.datas, "Idspan");
	   this.initChart(true);
	     	
    }
    
    this.initChart=function(action){ 
    	  
    	  new Cnbi.model.Chart(getPieChartObj());
    	  new Cnbi.model.Chart(getPieChartObj2());
    	  new Cnbi.model.Chart(getPieChartObj3());
    	  new Cnbi.model.Chart(getPieChartObj4());
    	  
    	  var xjzfnl = params["judgeObj"]["xjzfnl"];
    	  //alert(scope.datas[params["judgeObj"]["jyxfz"]]);
    	  
		  var obj={domId:domArray[0],datas:scope.datas[xjzfnl]-0,range:scope.industyParams[xjzfnl],title:'现金支付能力'};
    	  
      	  if(action)new Cnbi.model.Chart(getAngularGaugeObj(obj));    	  
      	  
    	  }
    	  	  
    function getPieChartObj(){
			return {
				 chartType:1,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
			     swfName:"Pie2d",//这个就不用说了吧！  
			     domId:domArray[1],//渲染的dom节点
			     datas:[{index0:"",index1:"",index2:""},[
			     		{index0:"1",index1:"可供出售金融资产",index2:scope.datas[params["judgeObj"]["kgcsjrzc"]]},
			        	{index0:"2",index1:"固定资产",index2:scope.datas[params["judgeObj"]["gdzc"]]},
			        	{index0:"3",index1:"无形资产",index2:scope.datas[params["judgeObj"]["wxzc"]]},
			        	{index0:"4",index1:"持有至到期投资",index2:scope.datas[params["judgeObj"]["cyzdqtz"]]},
			        	{index0:"5",index1:"长期应收款",index2:scope.datas[params["judgeObj"]["cqysk"]]},
			        	{index0:"6",index1:"长期股权投资",index2:scope.datas[params["judgeObj"]["cqgqtz"]]},
			        	{index0:"7",index1:"投资性房地产",index2:scope.datas[params["judgeObj"]["tzxfdc"]]},
			        	{index0:"8",index1:"在建工程",index2:scope.datas[params["judgeObj"]["zjgc"]]},
			        	{index0:"9",index1:"工程物资",index2:scope.datas[params["judgeObj"]["gcwz"]]},
			        	{index0:"10",index1:"固定资产清理",index2:scope.datas[params["judgeObj"]["gdzcql"]]},
			        	{index0:"11",index1:"生产性生物资产",index2:scope.datas[params["judgeObj"]["scxswzc"]]},
			        	{index0:"12",index1:"油气资产",index2:scope.datas[params["judgeObj"]["yqzc"]]},
			        	{index0:"13",index1:"开发支出",index2:scope.datas[params["judgeObj"]["kfzc"]]},
			        	{index0:"14",index1:"商誉",index2:scope.datas[params["judgeObj"]["sy"]]},
			        	{index0:"15",index1:"长期待摊费用",index2:scope.datas[params["judgeObj"]["cqdtfy"]]},
			        	{index0:"16",index1:"递延所得税资产",index2:scope.datas[params["judgeObj"]["dysdszc"]]},
			        	{index0:"17",index1:"其他非流动资产",index2:scope.datas[params["judgeObj"]["qtfldzc"]]}
			        ]],
			     attributes:'manageResize="1"  showLabels="0" chartLeftMargin="0" ' +
			     			' legendIconScale="0.8" legendAllowDrag="0" minimiseWrappingInLegend="0" ' +
			     			'showBorder="0" legendPosition="RIGHT" chartTopMargin="0"  bgColor="ffffff" ' +
			     			'bgAlpha="0,0"  showValues="0" isSmartLineSlanted="1"  showLegend="0"',
			     color:["1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900","6B8E23","9400D3","FF0000",
			       			 "1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900"],
			     width:"90%",
			     height:250,
			     event:{
			     	type:1,
			     	name:"showPie"
			     }
			};
		}

	function getPieChartObj2(){
			return {
				 chartType:1,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
			     swfName:"Pie2d",//这个就不用说了吧！  //AngularGauge.swf
			     domId:domArray[2],//渲染的dom节点
			     datas:[{index0:"",index1:"",index2:""},[
			     		{index0:"1",index1:"实收资本",index2:scope.datas[params["judgeObj"]["sszb"]]},
			        	{index0:"2",index1:"资本公积",index2:scope.datas[params["judgeObj"]["zbgj"]]},
			        	{index0:"3",index1:"减：库存股",index2:scope.datas[params["judgeObj"]["jkcg"]]},
			        	{index0:"4",index1:"盈余公积",index2:scope.datas[params["judgeObj"]["yygj"]]},
			        	{index0:"5",index1:"未分配利润",index2:scope.datas[params["judgeObj"]["wfplr"]]},
			        	{index0:"6",index1:"少数股东权益",index2:scope.datas[params["judgeObj"]["ssgdqy"]]},
			        	{index0:"7",index1:"长期借款",index2:scope.datas[params["judgeObj"]["cqjk"]]},
			        	{index0:"8",index1:"应付债券",index2:scope.datas[params["judgeObj"]["yfzq"]]},
			        	{index0:"9",index1:"长期应付款",index2:scope.datas[params["judgeObj"]["cqyfk"]]},
			        	{index0:"10",index1:"专项应付款",index2:scope.datas[params["judgeObj"]["zxyfk"]]},
			        	{index0:"11",index1:"预计负债",index2:scope.datas[params["judgeObj"]["yjfz"]]},
			        	{index0:"12",index1:"递延所得税负债",index2:scope.datas[params["judgeObj"]["dysdsfz"]]},
			        	{index0:"13",index1:"其他非流动负债",index2:scope.datas[params["judgeObj"]["qtfldfz"]]}
			        ]],
			     attributes:' manageResize="1"  showLabels="0" chartLeftMargin="0" ' +
			     			' legendIconScale="0.8" legendAllowDrag="0" minimiseWrappingInLegend="0" ' +
			     			'showBorder="0" legendPosition="RIGHT" chartTopMargin="0"  bgColor="ffffff" ' +
			     			'bgAlpha="0,0"  showValues="0" isSmartLineSlanted="1"  showLegend="0"',
			     color:["1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900","6B8E23","9400D3","FF0000",
			       			 "1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900"],
			     width:"90%",
			     height:250,
			     event:{
			     	type:1,
			     	name:"showPie"
			     }
			};
		}
	
	function getPieChartObj3(){
			return {
				 chartType:1,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
			     swfName:"Pie2d",//这个就不用说了吧！  //AngularGauge.swf
			     domId:domArray[3],//渲染的dom节点
			     datas:[{index0:"1",index0:"",index1:"",index1:""},[
			     		{index0:"2",index1:"应收账款",index2:scope.datas[params["judgeObj"]["yszk"]]},
			        	{index0:"3",index1:"预付款项",index2:scope.datas[params["judgeObj"]["yfkx"]]},
			        	{index0:"4",index1:"应收利息",index2:scope.datas[params["judgeObj"]["yslx"]]},
			        	{index0:"5",index1:"应收股利",index2:scope.datas[params["judgeObj"]["ysgl"]]},
			        	{index0:"6",index1:"其他应收款",index2:scope.datas[params["judgeObj"]["qtysk"]]},
			        	{index0:"7",index1:"存货",index2:scope.datas[params["judgeObj"]["ch"]]},
			        	{index0:"8",index1:"一年内到期的非流动资产",index2:scope.datas[params["judgeObj"]["ynn"]]},
			        	{index0:"9",index1:"其他流动资产",index2:scope.datas[params["judgeObj"]["qtldzc"]]}
			        ]],
			     attributes:' manageResize="1"  showLabels="0" chartLeftMargin="0" ' +
			     			' legendIconScale="0.8" legendAllowDrag="0" minimiseWrappingInLegend="0" ' +
			     			'showBorder="0" legendPosition="RIGHT" chartTopMargin="0"  bgColor="ffffff" ' +
			     			'bgAlpha="0,0"  showValues="0" isSmartLineSlanted="1"  showLegend="0"',
			     color:["EEC900","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900","6B8E23","9400D3","FF0000",
			       			 "1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900"],
			     width:"90%",
			     height:250,
			      event:{
			     	type:1,
			     	name:"showPie"
			     }
			};
		}
	
	function getPieChartObj4(){
			return {
				 chartType:1,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
			     swfName:"Pie2d",//这个就不用说了吧！  //Pie2D.swf
			     domId:domArray[4],//渲染的dom节点
			     datas:[{index0:"",index1:"",index2:""},[
			     		{index0:"1",index1:"应付账款",index2:scope.datas[params["judgeObj"]["yszk"]]},
			        	{index0:"2",index1:"预付款项",index2:scope.datas[params["judgeObj"]["yfkx"]]},
			        	{index0:"3",index1:"应付职工薪酬",index2:scope.datas[params["judgeObj"]["yfzgxc"]]},
			        	{index0:"4",index1:"应交税费",index2:scope.datas[params["judgeObj"]["yjsf"]]},
			        	{index0:"5",index1:"应付利息",index2:scope.datas[params["judgeObj"]["yflx"]]},
			        	{index0:"6",index1:"应付股利",index2:scope.datas[params["judgeObj"]["yfgl"]]},
			        	{index0:"7",index1:"其他应付款",index2:scope.datas[params["judgeObj"]["qtyfk"]]},
			        	{index0:"8",index1:"一年内到期的非流动负债",index2:scope.datas[params["judgeObj"]["ynn"]]},
			        	{index0:"9",index1:"其他流动负债",index2:scope.datas[params["judgeObj"]["xjzfnl"]]}
			        ]],
			     attributes:'manageResize="1"  showLabels="0" chartLeftMargin="0" ' +
			     			' legendIconScale="0.8" legendAllowDrag="0" minimiseWrappingInLegend="0" ' +
			     			'showBorder="0" legendPosition="RIGHT" chartTopMargin="0"  bgColor="ffffff" ' +
			     			'bgAlpha="0,0"  showValues="0" isSmartLineSlanted="1"  showLegend="0"',
			     color:["1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900","6B8E23","9400D3","FF0000",
			       			 "1C86EE","EEC900","6B8E23","9400D3","FF0000","1C86EE","EEC900"],
			     width:"90%",
			     height:250,
			      event:{
			     	type:1,
			     	name:"showPie"
			     }
			};
		}
	var upperLimit = 0.00;
     function getAngularGaugeObj(params){
    	 var range = params["range"];upperLimit=range["excellent"]-0;	
	     	if((params["datas"]-0)>upperLimit){
	     		upperLimit = params["datas"]-0;
	     	}
     	
     	var dialsAttr=' bgColor="000000,4D4D4D" borderAlpha="0" baseWidth="20" topWidth="1" rearExtension="50" valueY="333" radius="150"',
        attributes=' manageResize="1" origW="415" origH="415"  ' +
	            		'manageValueOverlapping="1" showValue="1" autoAlignTickValues="1"  ' +
	            		'   tickValueDistance="1" bgColor="FFFFFF" upperLimit="5000" lowerLimit="0" ' +
	            		'numberSuffix="" baseFontColor="000000"  majorTMNumber="11" majorTMColor="000000" ' +
	            		' majorTMHeight="30" minorTMNumber="5" minorTMColor="000000" minorTMHeight="15" ' +
	            		'showGaugeBorder="0" gaugeOuterRadius="170" gaugeInnerRadius="140" gaugeOriginX="210"' +
	            		' gaugeOriginY="210" gaugeAlpha="50" placeValuesInside="1" toolTipBgColor="FFFFFF" ' +
	            		'toolTipBorderColor="CCCCCC" gaugeFillMix="" showShadow="0" annRenderDelay="0"' +
	            		' pivotRadius="18" pivotFillMix="{E6E6E6},{999999}" pivotBorderColor="bebcb0"' +
	            		' pivotFillRatio="70,30" showTickValues="0" showBorder="0" gaugeStartAngle="230" ' +
	            		'gaugeEndAngle="-50" ',
    	annotations='<annotationGroup x="210" y="210" showBelow="1"><annotation type="circle" x="0" y="0" radius="200"' +
	          			' fillColor="35BADC,35BDDF, C5F4FF"  fillRatio="80,15, 5" borderColor="35BADC" />' +
	          			'<annotation type="circle" x="0" y="0" radius="190" fillColor="FFFFFF, FFFFFF" ' +
	          			'fillRatio="20,80" borderColor="FFFFFF" /><annotation type="circle" x="0" y="0" ' +
	          			'radius="190"  fillColor="E6E6E6, FFFFFF" fillAlpha="50" borderColor="E6E6E6" />' +
	          			'</annotationGroup>',      
        styles='<definition><style type="font" name="a" bgColor="FF0000" size="20" borderColor="FF0000"' +
	          			'  baseFontColor="FF0000" /><style name="MyFirstBevel" type="Bevel" /></definition>' +
	          			'<application><apply toObject="Value" styles="a"/><apply toObject="Value" ' +
	          			'styles="MyFirstBevel"/></application> ';
	          			
        return {chartType:0,//图表类型 ：0为单值数据图表;1为多单数据图表;2为多系数据图表
	            swfName:"AngularGauge",//这个就不用说了吧！  //AngularGauge.swf
	            datas:params["datas"],//显示的数据  注意：规定的数据解析格式  numberSuffix="%"
	            domId:domArray[0],//渲染的dom节点
	            attributes:attributes,
	            color:["FF0000","ffff00","00ff00"], //颜色good 
	            dialsAttr:dialsAttr,
	            styles:styles,
	            annotations:annotations,
	          	colorRange:[range["lowers"],range["average"],range["good"],upperLimit],//chartType==0时才有此属性
	          	width:"80%",height:"23.3%"};
    };
	
    this.updataInputAfter=function(id ,value,datas ){	
		setFormula(true); 
	};
	
	function setFormula(action) {
		
		var  chartId=domArray[0].toString()+domArray[5].toString();
		
	    if(getChartFromId(chartId)){
	       //getChartFromId(chartId).setData(1,scope.datas[params["judgeObj"]["xjzfnl"]]);
	       var tempData = scope.datas[params["judgeObj"]["xjzfnl"]]-0;
	       if((scope.datas[params["judgeObj"]["xjzfnl"]]-0)> upperLimit){
	    		tempData =upperLimit;
	       }
	       getChartFromId(chartId).setData(1,tempData);		
	    }
	    
	    setYyzbHTML();
	    setYyzjxqHTML();
	    setXjzfnlHTML();
	}
	
	/*function FormatNum(num){//数据千分位格式化
		if (/^.*\..*$/.test(num)) {
            var pointIndex = num.lastIndexOf(".");
            var intPart = num.substring(0, pointIndex);
            var pointPart = num.substring(pointIndex + 1, num.length);
            intPart = intPart + "";
            var re = /(-?\d+)(\d{3})/
            while (re.test(intPart)) {
                intPart = intPart.replace(re, "$1,$2")
            }
            num = intPart + "." + pointPart;
        } else {
            num = num + "";
            var re = /(-?\d+)(\d{3})/
            while (re.test(num)) {
                num = num.replace(re, "$1,$2")
            }
        }
        return num;
    }*/

    
	  /*
     * 营运资本文字：=IF(营运资本>0,"投融资活动是协调的","投融资活动存在资金缺口，并需要占用流动资金为："&ROUND(ABS(营运资本),2))
     * */
    function setYyzbHTML(){
    	if(scope.datas[params["judgeObj"]["yyzb"]] > 0){
    		$("#h1").html("&nbsp;投融资活动是协调的<br>");
    		$("#h1").css({'color':'green'});
    	}else{
    		$("#h1").css({'color':'red'});
    		//$("#h1").html("&nbsp;投融资活动存在资金缺<br>口，并需要占用流动<br>资金为："+Math.round(Math.abs(scope.datas[params["judgeObj"]["yyzb"]]),2));
    		$("#h1").html("&nbsp;投融资活动存在资金缺<br>口，并需要占用流动<br>资金为："+Utils.formatNumber(String(scope.datas[params["judgeObj"]["yyzb"]]),2));
    	}
    }
    
    /*
     * 营运资金需求文字：=IF(营运资金需求<0,"经营活动是协调的","经营活动存在资金缺口为:"&ROUND(营运资金需求,2))
     * */
    function setYyzjxqHTML(){
    	if(scope.datas[params["judgeObj"]["yyzjxq"]] < 0){
    		$("#h2").html("&nbsp;经营活动是协调的");
    		$("#h2").css({"color":"green"});
    	}else{
    		$("#h2").html("&nbsp;经营活动存在资金缺口为:"+Utils.formatNumber(String(scope.datas[params["judgeObj"]["yyzjxq"]]),2));
    		$("#h2").css({"color":"red"});
    	}
    }
    
    /*
     * 现金支付能力文字
     * */
    function setXjzfnlHTML(){
    	if((scope.datas[params["judgeObj"]["xjzfnl"]] > 0)&&(scope.datas[params["judgeObj"]["yyzjxq"]] > 0)&&(scope.datas[params["judgeObj"]["yyzb"]] > 0)&&(scope.datas[params["judgeObj"]["yyzb"]] > scope.datas[params["judgeObj"]["yyzjxq"]])){
    		console.dir("1");
    		$("#h4").html("&nbsp;协调且有支付能力");
    	}else if((scope.datas[params["judgeObj"]["xjzfnl"]] > 0)&&(scope.datas[params["judgeObj"]["yyzjxq"]] < 0)&&(scope.datas[params["judgeObj"]["yyzb"]] > 0)){
    		console.dir("2");
    		$("#h4").html("&nbsp;资金大量富裕");
    	}else if((scope.datas[params["judgeObj"]["xjzfnl"]] > 0)&&(scope.datas[params["judgeObj"]["yyzjxq"]] < 0)&&(scope.datas[params["judgeObj"]["yyzb"]] < 0)&&(Math.abs(scope.datas[params["judgeObj"]["yyzb"]])<Math.abs(scope.datas[params["judgeObj"]["yyzjxq"]]))){
    		console.dir("3");
    		$("#h4").html("&nbsp;不协调但能够维持");
    	}else if((scope.datas[params["judgeObj"]["xjzfnl"]] < 0)&&(scope.datas[params["judgeObj"]["yyzjxq"]] < 0)&&(scope.datas[params["judgeObj"]["yyzb"]] < 0)&&(Math.abs(scope.datas[params["judgeObj"]["yyzb"]])>Math.abs(scope.datas[params["judgeObj"]["yyzjxq"]]))){
    		console.dir("4");
    		$("#h4").html("&nbsp;不协调");
    	}else if((scope.datas[params["judgeObj"]["xjzfnl"]] < 0)&&(scope.datas[params["judgeObj"]["yyzjxq"]] > 0)&&(scope.datas[params["judgeObj"]["yyzb"]] > 0)&&(scope.datas[params["judgeObj"]["yyzb"]] < scope.datas[params["judgeObj"]["yyzjxq"]])){
    		console.dir("5");
    		$("#h4").html("&nbsp;严重不协调");
    	}
    }
   	scope.init();
   	
   	
}
Ext.onReady(function(){
	var slider_array=module["sliderItemScode"].split(",");
	
	var params ={itemIndex:module["queryItemScode"],showDim:'item',povitDim:'item',queryFact:'B',company:'EVA1',type:"capital_chain",year :qj.year,month :qj.month,unit :qj.unit};
    var toolsMap = module["toolsMap"];
    var bean =  new Cnbi.model.Capital_Chain({
    	id:module["id"],
		slider_array:slider_array,
		params:params,
		progress_array:[
		    toolsMap["jgxzc"]["scode"],
		    toolsMap["jgxfz"]["scode"], 
		    toolsMap["jyxzc"]["scode"],
		    toolsMap["jyxfz"]["scode"],
		    toolsMap["yyzb"]["scode"], 
		    toolsMap["yyzjxq"]["scode"]],
		updateInput:'input',
		pro:{width : 120},
		sli:{width : 100},
		domArray:["xjzfnlId","pie1","pie2","pie3","pie4","_cnbi_chartId"],
		companyName:company["text"],
		judgeObj:{
		          kgcsjrzc:toolsMap["kgcsjrzc"]["scode"],
		          gdzc:toolsMap["gdzc"]["scode"],
		          wxzc:toolsMap["wxzc"]["scode"],
		          cqjk:toolsMap["cqjk"]["scode"],
		          sszb:toolsMap["sszb"]["scode"],
		          wfplr:toolsMap["wfplr"]["scode"],
		          yszk:toolsMap["yszk"]["scode"],
		          qtysk:toolsMap["qtysk"]["scode"],
		          ch:toolsMap["ch"]["scode"],
		          yfzk:toolsMap["yfzk"]["scode"],
		          yfzgxc:toolsMap["yfzgxc"]["scode"],
		          qtyfk:toolsMap["qtyfk"]["scode"],		          
		          zbgj:toolsMap["zbgj"]["scode"],
		          yygj:toolsMap["yygj"]["scode"],
		          yfzq:toolsMap["yfzq"]["scode"],
		          cqyfk:toolsMap["cqyfk"]["scode"],
		          cqysk:toolsMap["cqysk"]["scode"],
		          zjgc:toolsMap["zjgc"]["scode"],
		          cqdtfy:toolsMap["cqdtfy"]["scode"],
		          yslx:toolsMap["yslx"]["scode"],
		          hbzj:toolsMap["hbzj"]["scode"],
		          dqjk:toolsMap["dqjk"]["scode"],
		          kgcsjrzcCs:toolsMap["kgcsjrzc"]["scode"],
		          qtyskCs:toolsMap["qtysk"]["scode"],
		          chCs:toolsMap["ch"]["scode"],
		          qtyfkCs:toolsMap["qtyfk"]["scode"],
		          jkcg:toolsMap["jkcg"]["scode"],
		          ssgdqy:toolsMap["ssgdqy"]["scode"],
		          zxyfk:toolsMap["zxyfk"]["scode"],
		          yjfz:toolsMap["yjfz"]["scode"],
		          dysdsfz:toolsMap["dysdsfz"]["scode"],
		          qtfldzc:toolsMap["qtfldzc"]["scode"],		          
		          cyzdqtz:toolsMap["cyzdqtz"]["scode"],
		          cqgqtz:toolsMap["cqgqtz"]["scode"],
		          gcwz:toolsMap["gcwz"]["scode"],
		          tzxfdc:toolsMap["tzxfdc"]["scode"],
		          gdzcql:toolsMap["gdzcql"]["scode"],
		          scxswzc:toolsMap["scxswzc"]["scode"],
		          yqzc:toolsMap["yqzc"]["scode"],
		          kfzc:toolsMap["kfzc"]["scode"],
		          sy:toolsMap["sy"]["scode"],
		          dysdszc:toolsMap["dysdszc"]["scode"],
		          qtfldzc:toolsMap["qtfldzc"]["scode"],		          
		          yfkx:toolsMap["yfkx"]["scode"],
		          ysgl:toolsMap["ysgl"]["scode"],
		          qtysk:toolsMap["qtysk"]["scode"],
		          ynn:toolsMap["ynn"]["scode"],
		          qtldzc:toolsMap["qtldzc"]["scode"],
		          jyxjrzc:toolsMap["jyxjrzc"]["scode"],
		          yspj:toolsMap["yspj"]["scode"],
		          yfpj:toolsMap["yfpj"]["scode"],		          
		          jgxzc:toolsMap["jgxzc"]["scode"],
		          jgxfz:toolsMap["jgxfz"]["scode"],
		          jyxzc:toolsMap["jyxzc"]["scode"],
		          jyxfz:toolsMap["jyxfz"]["scode"],
		          yyzb:toolsMap["yyzb"]["scode"],
		          yyzjxq:toolsMap["yyzjxq"]["scode"],
		          xjzfnl:toolsMap["xjzfnl"]["scode"]
		         },
		module:module
	 }); 	 	
});